<?php
namespace app\index\controller;

use think\Db;
use think\Cache;
use think\Loader;
use think\Request;
use think\exception\HttpResponseException;
use think\Session;
use think\Controller;

class Home extends Basic
{
    public function index()
    {
//        print_r(session('admin'));
        $this->assign('name',session('admin')['name']);
        return $this->fetch();

    }
}
